//
//  UIBarButtonItem+Extend.h
//  RMMaterialRed
//
//  Created by XBWH on 2024/3/5.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIBarButtonItem (Extend)
+(UIBarButtonItem *)rb_itemWithTarget:(id)target action:(SEL)action image:(UIImage *)image;
+(UIBarButtonItem *)rb_itemWithTarget:(id)target action:(SEL)action image:(UIImage *)image imageEdgeInsets:(UIEdgeInsets)imageEdgeInsets;
+(UIBarButtonItem *)rb_itemWithTarget:(id)target
                            action:(SEL)action
                        nomalImage:(UIImage *)nomalImage
                  higeLightedImage:(UIImage *)higeLightedImage
                   imageEdgeInsets:(UIEdgeInsets)imageEdgeInsets;
+(UIBarButtonItem *)rb_itemWithTarget:(id)target action:(SEL)action title:(NSString *)title;
+(UIBarButtonItem *)rb_itemWithTarget:(id)target action:(SEL)action title:(NSString *)title titleEdgeInsets:(UIEdgeInsets)titleEdgeInsets;
+(UIBarButtonItem *)rb_itemWithTarget:(id)target
                            action:(SEL)action
                             title:(NSString *)title
                              font:(UIFont *)font
                        titleColor:(UIColor *)titleColor
                  highlightedColor:(UIColor *)highlightedColor
                   titleEdgeInsets:(UIEdgeInsets)titleEdgeInsets;
+(UIBarButtonItem *)rb_fixedSpaceWithWidth:(CGFloat)width;
@end

NS_ASSUME_NONNULL_END
